package cn.com.taurus.biz;

import cn.com.taurus.entity.AdminLog;
import cn.com.taurus.impl.AdminLogImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @remark 管理员日志服务层
 * @author zjw
 * @createTime 2021-7-3 21:46:11
 * @version 1.0
 */
@Service
public class AdminLogBiz{
    @Autowired
    private AdminLogImpl adminLogImpl;
    
    public int addAdminLog(AdminLog AdminLog) throws NullPointerException{
        return adminLogImpl.addAdminLog(AdminLog);
    }
   
    public int deleteAllAdminLog() throws NullPointerException {
        return adminLogImpl.deleteAllAdminLog();
    }
   
    public List<AdminLog> queryAllAdminLog() {
        return adminLogImpl.queryAllAdminLog();
    }

    public List<AdminLog> selectDimAdminLog(AdminLog adminLog) {
        return adminLogImpl.selectDimAdminLog(adminLog);
    }
}
